package com.lbw.flyweight;

/**
 * @author lbw
 * @version 1.0
 * @date 2021/6/13 14:28
 */
public class ConcreteWebsite extends Website {

    private String type = "";

    public ConcreteWebsite(String type) {
        this.type = type;
    }

    @Override
    public void use(User user) {
        System.out.println("网站的发布形式为:" + type + "在使用了..... 使用者是:" + user.getName());
    }

}
